* {
    margin: 0;
    padding: 0;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: #f6f6f6;
    position: relative;
}

header {
    width: 100%;
    height: 161px;
    overflow: hidden;

    .top {
        width: 1200px;
        height: 100%;
        margin: 0 auto;

        .logo {
            overflow: hidden;
            float: left;
            margin: 50px 0 0 20px;
            height: 75px;

            img {
                width: 75px;
                height: 75px;
                float: left;
            }

            .right {
                float: left;
                margin: 8px 0 0 15px;
                text-align: center;
                color: #43200c;

                h3 {
                    font-size: 28px;
                    font-weight: 600;
                    line-height: 40px;
                }

                span {
                    font-size: 12px;
                    display: inline-block;
                    line-height: 17px;
                    transform: scale(.8);
                }
            }
        }

        .search {
            float: left;
            margin: 50px 0 0 108px;
            width: 532px;
            height: 48px;

            form {
                width: 100%;
                height: 48px;
                border-radius: 34px;
                box-shadow: inset 0 0 0 2px #43240c;
                position: relative;

                span {
                    width: 45px;
                    height: 45px;
                    display: inline-block;
                    background: url(../images/search.png) no-repeat 15px 15px;
                    background-size: 20px 20px;
                }

                input {
                    position: absolute;
                    top: 3px;
                    left: 47px;
                    width: calc(100% - 177px);
                    font-size: 16px;
                    line-height: 43px;
                    color: #43200c;
                    border: none;
                    outline: none;
                }

                button {
                    cursor: pointer;
                    position: absolute;
                    top: 3px;
                    right: 2px;
                    width: 124px;
                    font-size: 14px;
                    font-weight: 500;
                    line-height: 45px;
                    text-align: center;
                    color: #43200c;
                    background-color: #fee44e;
                    border: none;
                    border-radius: 34px;
                }
            }
        }

        .top-right {
            float: right;
            margin: 43px 65px 0 0;
            font-size: 10px;

            ul {
                overflow: visible;

                li {
                    float: left;
                    position: relative;
                    margin-right: 25px;
                    width: 44px;
                    height: 60px;
                    text-align: center;

                    img {
                        display: inline-block;
                        width: 40px;
                        height: 40px;
                    }

                    span {
                        position: absolute;
                        bottom: 0;
                        left: 50%;
                        font-size: 12px;
                        white-space: nowrap;
                        color: #737373;
                        transform: translateX(-50%);
                    }
                }
            }
        }
    }
}

nav {
    width: 100%;
    height: 46px;
    background-color: #43200c;

    .navigation {
        width: 1200px;
        height: 46px;
        margin: 0 auto;

        .text-nav {
            width: 1200px;
            height: 46px;
            position: relative;

            .text-nav-li {
                width: 166px;
                float: left;
                cursor: pointer;
                text-align: center;
                line-height: 47px;

                a {
                    font-size: 16px;
                    font-weight: 500;
                    color: #fff;
                }
            }

            .text-nav-li:hover {
                background-color: #fee44e;

                a {
                    color: #43240c;
                }
            }

            .text-nav-li:nth-child(1) {
                width: 220px;
            }
            .cart{
                height: 46px;
                width: 150px;
                float: right;
                text-align: center;
                line-height: 46px;
                font-size: 16px;
                background-color:#fee44e;
                cursor: pointer;
                border-radius: 10px;
                .cart-num{
                    font-size: 18px;
                    font-weight: 600;
                    color: red;
                }
            }

        }
    }
}

.main-container {
    width: 1200px;
    min-height: 500px;
    margin: 0 auto;

    main {
        width: 1200px;
        min-height: 800px;
        overflow: hidden;

        .itemize {
            width: 220px;
            float: left;
            position: relative;
            background-color: #fcf9e3;

            .content {
                width: 220px;

                .item-lis {
                    width: 220px;
                    height: 41px;
                    line-height: 41px;
                    text-align: center;
                    transition: all .3s;
                    margin: 0;
                    position: relative;

                    img {
                        width: 20px;
                        height: 20px;
                        position: absolute;
                        left: 45px;
                        top: 50%;
                        transform: translateY(-50%);
                    }

                    a {
                        color: black;
                        font-size: 14px;
                    }
                }

                .item-lis:hover {
                    background-color: #fff;

                    a:hover {
                        text-decoration: underline;
                        color: #ff5656;
                    }
                }
            }

            .right-content {
                height: 370px;
                position: absolute;
                top: 0;
                left: 220px;
                background-color: #fff;
                box-sizing: border-box;
                padding: 21px 22px;
                width: 230px;
                z-index: 9999;

                div {
                    margin: 0 auto 30px;
                    width: 100%;
                    font-size: 12px;
                    text-align: left;
                    color: #a79c95;

                    h3 {
                        padding: 0 0 6px;
                        line-height: 17px;
                        font-size: 16px;
                        border-bottom: 1px solid #e7e7ee;
                    }

                    .small-list {
                        overflow: hidden;
                        margin-bottom: 40px;

                        li {
                            float: left;
                            margin: 13px 4px 0;
                            width: auto;
                            line-height: 17px;
                            height: 17px;

                            a {
                                color: #737373;
                            }

                            &:hover a {
                                color: #ff5656;
                            }
                        }
                    }
                }
            }
        }

        .autoplay {
            width: 960px;
            height: 234px;
            float: right;
            position: relative;
            z-index: 1;
            margin: 0 10px 10px;
            overflow: hidden;

            .shop_banner {
                height: 100%;
                width: 660px;
                float: left;

                .swiper-wrapper img {
                    width: 660px;
                    height: 100%;
                }

                .swiper-button-prev,
                .swiper-button-next {
                    width: 20px;
                    height: 30px;
                    --swiper-navigation-size: 20px;
                    --swiper-theme-color: #FFF;
                    background: rgba(0, 0, 0, 0.3);
                }
            }

            .notice {
                height: 100%;
                width: 290px;
                float: right;
                background-color: #fff4e4;
                position: relative;

                h3 {
                    z-index: 3;
                    position: absolute;
                    top: 32px;
                    left: 13px;
                    color: #ff5656;
                    font-size: 24px;
                }

                .tips {
                    z-index: 3;
                    position: absolute;
                    top: 76px;
                    left: 0;
                    padding: 0 47px 0 22px;
                    font-size: 18px;
                    line-height: 36px;
                    color: #fff;
                    background: url(../images/6.png) no-repeat 50%/cover;
                }

                img {
                    width: 134px;
                    width: 134px;
                    position: absolute;
                    right: 0;
                    bottom: 0;
                }
            }
        }

        .shop-play {
            width: 970px;
            height: 126px;
            float: left;
            margin-left: 10px;

            a {
                display: inline-block;
                overflow: hidden;
                position: relative;
                padding: 42px 30px 16px;
                width: 240px;
                color: #fff;
                background: linear-gradient(270deg, #ffd1dd, #fca6c0);
                border-radius: 18px;

                img {
                    width: 125px;
                    height: 125px;
                    position: absolute;
                    right: 0;
                    bottom: 0;
                }

                div {
                    width: 100px;
                    height: 100px;
                    position: absolute;
                    right: 5%;
                    bottom: 10%;
                    background-color: #afdcff;
                    border-radius: 20px;

                    & img {
                        width: 80px;
                        height: 80px;
                        position: absolute;
                        right: 10px;
                        bottom: 10px;
                    }
                }
            }
        }

        .nav-title {
            width: 1200px;
            height: 57px;
            margin: 10px auto 20px;
            font-size: 18px;
            line-height: 56px;
            float: left;
            color: #43240c;
            background-color: #fff;

            h3 {
                display: inline-block;
                margin-left: 52px;
                font-size: 18px;
                font-weight: 500;
            }

            p {
                display: inline-block;
                margin-left: 30px;
                font-size: 14px;
                color: #877a73;
            }
        }

        section {
            width: 1200px;
            // min-height: 500px;
            margin: 0 auto;
            padding: 0 16px;
            float: left;

            ul {
                overflow: hidden;
                min-height: 40vh;

                .goods-list {
                    cursor: pointer;
                    display: block;
                    float: left;
                    margin-right: 21px;
                    width: 276px;
                    height: 389px;
                    overflow: hidden;
                    margin-bottom: 22px;
                    position: relative;
                    box-sizing: border-box;
                    transition: all .3s;

                    .goods {
                        background-color: #fff;
                        display: inline-block;
                        width: 100%;
                        height: 100%;
                        position: relative;
                        border: none;
                        box-shadow: 0 1px 1px -1px rgb(0 0 0 /50%);

                        .show {
                            overflow: hidden;
                            position: relative;
                            padding-top: 100%;
                            width: 100%;
                            display: block;

                            img {
                                position: absolute;
                                top: 50%;
                                left: 50%;
                                height: 100%;
                                display: block;
                                transform: translate(-50%, -50%);
                            }
                        }

                        .information {
                            padding: 10px 17px 17px;
                            box-sizing: border-box;

                            .goods-title {
                                overflow: hidden;
                                font-size: 14px;
                                line-height: 18px;
                                text-overflow: ellipsis;
                                color: #877a73;
                                white-space: nowrap;
                            }

                            .good-keywords {
                                overflow: hidden;
                                position: relative;
                                margin: 16px auto 0;

                                .keyword-tmall {
                                    background-color: #df2b2f;
                                    color: #fff;
                                    border-radius: 2px;
                                    box-shadow: none;
                                    float: left;
                                    box-sizing: border-box;
                                    margin: 0 6px 0 0;
                                    padding: 0 6px;
                                    min-width: 40px;
                                    font-size: 14px;
                                    line-height: 20px;
                                    vertical-align: middle;
                                    text-align: center;
                                }

                                .keywords {
                                    float: left;
                                    box-sizing: border-box;
                                    margin: 0 6px 0 0;
                                    padding: 0 6px;
                                    font-size: 14px;
                                    color: #ff9000;
                                    line-height: 20px;
                                    vertical-align: middle;
                                    text-align: center;
                                    border-radius: 2px;
                                    box-shadow: inset 0 0 0 1px #ff9000;
                                }

                                .keyword-postage {
                                    position: absolute;
                                    top: 0;
                                    right: 0;
                                    margin: 0;
                                    padding: 0;
                                    width: 50px;
                                    color: #877a73;
                                    box-shadow: none;
                                    float: left;
                                    box-sizing: border-box;
                                    font-size: 14px;
                                    line-height: 20px;
                                    vertical-align: middle;
                                    text-align: center;
                                    border-radius: 2px;
                                }
                            }

                            .goods-foot {
                                overflow: hidden;
                                position: relative;
                                margin-top: 14px;
                                height: 28px;
                                font-size: 0;
                                text-align: left;
                                vertical-align: bottom;

                                .left {
                                    position: absolute;
                                    bottom: 0;
                                    left: 0;
                                    vertical-align: bottom;

                                    .price {
                                        color: #fa585a;
                                        font-size: 0;
                                        font-weight: 400;
                                        line-height: 1;
                                        margin-right: 6px;
                                        vertical-align: bottom;

                                        .price-tag {
                                            display: inline-block;
                                            font-size: 12px;
                                            font-style: normal;
                                            font-weight: 400;
                                            line-height: 12px;
                                        }

                                        .price-strong {
                                            display: inline-block;
                                            font-size: 28px;
                                            line-height: 28px;
                                        }

                                        .digit {
                                            display: inline-block;
                                            font-size: 18px;
                                            line-height: 20px;
                                        }
                                    }

                                    .sale-num {
                                        display: inline-block;
                                        font-size: 14px;
                                        color: #877a73;
                                        letter-spacing: 0;
                                    }
                                }

                                .coupon-value {
                                    position: absolute;
                                    bottom: 1px;
                                    right: 0;
                                    padding: 0;
                                    width: 50px;
                                    font-size: 12px;
                                    line-height: 20px;
                                    color: #fa585a;
                                    text-align: center;
                                    border-radius: 2px;
                                    box-shadow: inset 0 0 0 1px #fa585a;
                                    vertical-align: bottom;
                                }
                            }
                        }
                    }
                }
            }

            .choice-more {
                margin: 126px auto 0;

                .choice-moreBtn {
                    cursor: pointer;
                    margin: 0 auto;
                    width: 250px;
                    font-size: 24px;
                    font-weight: 500;
                    line-height: 70px;
                    text-align: center;
                    color: #43240c;
                    background-color: #fee44e;
                    border-radius: 35px;
                }
            }
        }

        .section-banner {
            margin: 0 auto;
            width: 1200px;
            padding: 0;
            .banner-title {
                box-sizing: border-box;
                padding: 0 30px;
                font-size: 24px;
                font-weight: 700;
                line-height: 56px;
                color: #43200c;
                background-color: #fef9dd;
            }
            .banner-nav{
                margin: 3px auto 0;
                .sub{
                    box-sizing: border-box;
                    margin: 0 auto;
                    width: 100%;
                    height: 56px;
                    font-size: 18px;
                    color: #43200c;
                    background-color: #fff;
                    .banner-lis{
                        overflow: hidden;
                        margin: 0 auto;
                        width: 1200px;
                        height: 56px;
                        li{
                            cursor: pointer;
                            box-sizing: border-box;
                            float: left;
                            position: relative;
                            margin: 0 0 0 16px;
                            padding: 0 17px;
                            font-size: 18px;
                            font-weight: 500;
                            text-align: center;
                            line-height: 56px;
                            color: #43240c;
                        }
                        li.active{
                            box-shadow: inset 0 -3px 0 -1px currentColor;
                        }
                    }
                }
            }
        }

    }

}

footer {
    margin: 81px auto 0;

    .foot {
        width: 100%;
        height: 240px;
        background: #000;
        opacity: .706;
        color: #fff;
        position: relative;
        bottom: 0;
        font-family: PingFang-SC-Medium;
        margin-top: 81px;

        .foot-contain {
            width: 1200px;
            height: 112px;
            margin: 0 auto;

            img {
                float: left;
                width: 112px;
                height: 112px;
                margin: 37px 19px 0 40px;
                margin-right: 19px;
                border-radius: 20px;
            }

            .center {
                display: inline-block;
                text-align: center;
                margin-top: 45px;
                margin-right: 444px;

                .foot-title {
                    font-size: 36px;
                    font-family: PingFangSC-Semibold;
                    font-weight: 600;
                }

                .slogin {
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 25px;
                }
            }
        }

        .about-us {
            margin-top: -28px;

            .items {
                font-size: 20px;
                margin-left: 680px;

                .line {
                    margin: 0 8px;
                }

                .item {
                    color: #fff;
                }
            }
        }

        .footer-bottom {
            width: 1200px;
            margin: 0 auto;
            position: relative;
            text-align: center;
            margin-top: 88px;

            img {
                width: 22px;
                height: 22px;
                margin-top: 5px;
                vertical-align: -5px;
            }

            p {
                display: inline-block;
                line-height: 25px;
                font-size: 18px;

                a {
                    color: rgb(255, 255, 255);
                }
            }
        }
    }
}

.footer-down {
    padding-bottom: 50px;
    display: block;
    position: relative;

    img {
        position: absolute;
        width: 83px;
        aspect-ratio: auto 83 / 30;
        height: 30px;
        left: 48%;
    }
}